package org.lee.status.app.activity;

import lombok.Getter;

/**
 * Status
 * 活动状态
 *
 * @author dralee
 * @date 2021-11-24 09:44:42
 **/
@Getter
public enum Status {
    EDITING(0, "创建编辑"),
    CHECK(1, "待审核"),
    PASS(2, "审核通过（任务扫描成活动中）"),
    REFUSE(3, "审核拒绝（可后撤审到编辑状态）"),
    DOING(4, "活动中"),
    OPEN(5, "活动开启（任务扫描成活动中）"),
    CLOSE(6, "活动关闭"),
    ;

    private int code;
    private String name;

    Status(int code, String name) {
        this.code = code;
        this.name = name;
    }
}
